package com.hontech.bv.model.pipe_line

import com.hontech.bv.conn.ReadFrame
import com.hontech.bv.task.eventBus

object PipeLineStatus {

    val status = Status()

    fun update(frame: ReadFrame) {
        frame.parse(arrayOf(
            status.appVersion,
            status.sw,
            status.adc
        ))
        eventBus.post(StatusUpdateEvent())
    }
}

